{extend name="layout/layout" /}


{block name="content"}
<div class="am-cf am-padding am-padding-bottom-0">
    <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">用户管理</strong> / <small>添加用户</small></div>
</div>



<form class="am-form am-padding" action="__URL__/addmenuDo" method="post">
    <fieldset>
        <legend>添加菜单</legend>

        <div class="am-form-group">
            <label >名称</label>
            <input type="text" class="" name="name"  placeholder="名称">
        </div>

        <div class="am-form-group">
            <label >URL</label>
            <input type="text" class="" name="link" placeholder="URL">
        </div>

        <div class="am-form-group">
            <label >父级菜单</label>
            <select id="pid" name="pid">
                <option value="0">顶级</option>
                {volist name='topMenu' id='item'}
                <option value="{$item.id}">{$item.name}</option>
                {/volist}
            </select>

        </div>


        <div class="am-form-group">
            <label class="am-radio-inline">
                <input type="radio" value="1" name="isshow" checked> 显示
            </label>
            <label class="am-radio-inline">
                <input type="radio" value="0"   name="isshow" > 隐藏
            </label>
        </div>



        <div class="am-g am-padding-top">
            <button type="submit" class="am-btn am-btn-primary am-btn-xs">提交保存</button>
            <a href="__URL__/menulist" class="am-btn am-btn-primary am-btn-xs">返回列表</a>
        </div>
    </fieldset>
</form>

{/block}
